Photographing flowers with a smartphone